xfi:fact-dimension-s-equal2

xs:boolean=xfi:fact-dimension-s-equal2( $left-item as schema-element(xbrli:item), $right-item as schema-element(xbrli:item), $dimension-name as xs:QName)

Last updated on 23-01-2008 at 13:37:00.

Returns true if both items have the same value (default or explicit) for the specified dimension (regardless of whether in segment or scenario).

OIM Status

Unsupported

Parameters

Name Type Details
left-item schema-element(xbrli:item) The item that the dimension value is to be retrieved for.
right-item schema-element(xbrli:item) The item that the dimension value is to be retrieved for.
dimension-name xs:QName The QName of the dimension for which the value is required.

Output

Type: xs:boolean

If one of the items does not have a value for the dimension in either their segment or their scenario but the other does, in either segment or scenario (not required to be in corresponding location), then the function returns false.

Otherwise, if both of the items do not have a value for the dimension in either their segment or scenario then the function returns true.

Otherwise, if the values for the dimension (regardless of whether in segment or scenario) for both of the items are s-equal2, as defined in the XBRL Dimensions Specification, then the function returns true.

Otherwise, the function returns false.

Conformance suite

90403 xfi.fact-dimension-s-equal2 testcase.xml [ download ]

Owners

Name Affiliation Email Start End
Geoff Shuetrim Galexy geoff@galexy.net 29-01-2008 at 00:00:00
Herm Fischer UBmatrix / Mark V Systems fischer@markv.com 02-09-2008 at 00:00:00

Revisions

Name On Details
Geoff Shuetrim 05-02-2008 at 13:40:00 Defined the function.
Geoff Shuetrim 04-03-2008 at 13:40:00 Clarified treatment of default dimension values.
Herm Fischer 02-09-2008 at 00:00:00 Adaptation for collapse of segment/scenario dimension aspects.